<?php

/**
 * Capital Direct Lending (http://www.philbsd.com/cdl)
 *
 * Copyright (C) 2008 Philippine Business Solution Developers <http://www.philbsd.com>
 * All rights reserved.
 *
 *
 * LICENSE
 *
 * This source file is subject to the GNU General Public License v3 license
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@philbsd.com so we can send you a copy immediately.
 *
 * @copyright  (c) 2008 Philippine Business Solution Developers. (http://www.philbsd.com)
 * @license    http://www.gnu.org/licenses/gpl-3.0.txt
 * @version    $Id: delete.phtml 42 2008-03-12 10:05:35Z philbsd $
 */

?><p>
<?php

$record = $this->record;

?>
<a href="<?php echo $this->baseUrl; ?>/admin/user">Lists</a> |
<a href="<?php echo $this->baseUrl; ?>/admin/user/add">Add</a> |
<a href="<?php echo $this->baseUrl; ?>/admin/user/edit<?php echo (isset($record['id']) && $record['id'])? "/id/{$record['id']}" : ""; ?>">Modify</a>
<form action="<?php echo $this->baseUrl ?>/admin/user/delete<?php echo (isset($record['id']) && $record['id'])? "/id/{$record['id']}" : ""; ?>" method="POST">
<table cellpadding="2" cellspacing="2">
	<tr>
		<td align="right">Id:</td>
		<td><?php echo $record['id']; ?></td>
	</tr>
	<tr>		
		<td align="right">Username:</td>
		<td><?php echo $record['username']; ?></td>
	</tr>
	<tr>		
		<td align="right">Role:</td>
		<td><?php echo $record['role']; ?></td>
	</tr>
	<tr>		
		<td align="right">Name:</td>
		<td><?php echo "{$record['last_name']}, {$record['first_name']} {$record['middle_name']}"; ?></td>
	</tr>
	<tr>
		<td align="right">Website:</td>
		<td><?php echo $record['website']; ?></td>
	</tr>
	<tr>
		<td align="right">Email:</td>
		<td><?php echo $record['email']; ?></td>
	</tr>
	<tr>
		<td align="right">Phone:</td>
		<td><?php echo $record['phone']; ?></td>
	</tr>
	<tr>
		<td align="right">Mobile:</td>
		<td><?php echo $record['mobile']; ?></td>
	</tr>
	<tr>
		<td align="right">Address:</td>
		<td><?php echo $record['address']; ?></td>
	</tr>
	<tr>
		<td align="right">&nbsp;</td>
		<td>
			<input type="submit" name="btnDelete" value="Delete">
			<input type="submit" name="btnCancel" value="Cancel">
		</td>
	</tr>
</table>
</form>
</p>